<?php
/*if (!defined('PHP5')) {
	define('PHP5', (PHP_VERSION >= 5));
}
if (!defined('E_DEPRECATED')) {
	define('E_DEPRECATED', 8192);
}

error_reporting(E_ALL & ~E_DEPRECATED);
*/
/**
 * Configuration, directory layout and standard libraries
 */

	define('SC_CONFIG', SC_CORE_PATH.'config'.DS);
	require SC_CONFIG.'paths.php';
	require SC_CORE_PATH.'basics.php';

	require SC_LIBS.'loader.php';
	require SC_LIBS.'inflector.php';
	require SC_LIBS.'object.php';
	require SC_LIBS.'configure.php';

	// base class load.
	require SC_LIBS.'exceptions.php';
	require SC_LIBS.DS.'controller.php';
	require SC_LIBS.DS.'view.php';
	require SC_LIBS.DS.'db.php';
	require APP_CORE_PATH.'app_controller.php';
	require APP_CORE_PATH.'app_model_db.php';
	require APP_CORE_PATH.'app_model_unit.php';
	require SC_CORE_PATH.'dispatcher.php';

/*	Loader::controller('Sample');
	var_dump(class_exists('SampleController'));
	$s = new SampleController();
*/

//	require SC_CORE_PATH . 'cake' . DS . 'basics.php';
//	require SC_CORE_PATH . 'cake' . DS . 'config' . DS . 'paths.php';
//	require LIBS . 'object.php';
//	require LIBS . 'inflector.php';
//	require LIBS . 'configure.php';
//	require LIBS . 'exceptions.php';
//	require LIBS . 'cache.php';

//	Configure::getInstance();

//	$url = null;

//	require CAKE . 'dispatcher.php';
